import { BasicColumn, FormSchema } from '@/components/Table';

export const tableColumns: BasicColumn[] = [
  { title: '编号', dataIndex: 'id' },
  { title: '大类名称', dataIndex: 'name' },
];
export const tableFormSchema: FormSchema[] = [
  {
    field: 'name',
    label: '大类名称',
    component: 'Input',
    colProps: { span: 6 },
  },
];

export const modalFormSchema: FormSchema[] = [
  {
    required: true,
    field: 'name',
    label: '名称',
    component: 'Input',
  },
];
